import { View, Image } from "@tarojs/components"
import styles from './index.module.scss'
export interface ImageListProps {
    list: string[]
}

const ImageList = (props: ImageListProps) => {
    const { list } = props
  return (
    <View className={styles['chat-image-container']}>
        <View className={styles['chat-image']}>
            {
                list.map((item) => {
                    return <Image key={item} src={item} mode={'aspectFill'}/>
                })
            }
        </View>
    </View>
  )
}

export default ImageList